package com.scut.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户/面试者表
 * </p>
 *
 * @author Kevin Zheng
 * @since 2024-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Candidate对象", description="用户/面试者表")
public class Candidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户的id")
    @TableId(value = "candidate_id", type = IdType.AUTO)
    private Long candidateId;

    @ApiModelProperty(value = "用户唯一的昵称")
    private String userName;

    @ApiModelProperty(value = "经过加密存储后的用户密码")
    private String password;

    private String school;

    private String email;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @ApiModelProperty(value = "微信登录需要的信息")
    private String wechatUnionId;


}
